package com.jobsika.solr.domain;

import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;

public class Post {
	
	@Field
	private String id;
	
	@Field
	private String location;
	
	@Field
	private String title;
	
	@Field
	private Date date;
	
	@Field
	private String body;
	
	public Post() {
	}

	public Post(String id, String location, Date date, String body) {
		this.id = id;
		this.location = location;
		this.date = date;
		this.body = body;
	}
	
	public void setLocation(String location) {
		this.location = location;
	}

	public String getLocation() {
		return location;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getDate() {
		return date;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getBody() {
		return body;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle() {
		return title;
	}
	
}
